﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    DataClassesDataContext db = new DataClassesDataContext();

    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        try
        {
            Tbl_Order T_order = new Tbl_Order();

            
            T_order.Pro_ID = RadTextBox2.Text;


            db.Tbl_Orders.InsertOnSubmit(T_order);
            db.SubmitChanges();
        }
        catch
        {

        }
        finally
        {
        }
    }
    protected void RadioButton2_CheckedChanged(object sender, EventArgs e)
    {

    }
}